
<template>
    <div>
      <el-button style="padding: 5px" :size="'small'"
                 type="primary" @click="props.tableItem.btnArray[0].handle(props.scope)" v-if="!props.scope.remark"
                 text>添加备注</el-button>
      <el-button style="padding: 5px" :size="'small'"
                 type="primary" @click="props.tableItem.btnArray[1].handle(props.scope)" v-if="props.scope.remark"
                 text>修改备注</el-button>
    </div>
</template>
<script setup>
import { onMounted } from 'vue'
const props = defineProps({ scope: { default: function () { return [] } }, tableItem: { default: function () { return [] } } })
onMounted(() => {
})
</script>
